<div class="search-box">
	<form class="search_form layui-form" lay-filter="jdgoods_search_form">
		<div class="layui-inline">
			<label class="layui-form-label">名称</label>
			<div class="layui-input-inline">
				<input type="text" name="goods_name" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">品牌</label>
			<div class="layui-input-inline">
				<input type="text" name="goods_brand" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">型号</label>
			<div class="layui-input-inline">
				<input type="text" name="goods_model" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">京东编号</label>
			<div class="layui-input-inline">
				<input type="text" name="spu" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">入库编号</label>
			<div class="layui-input-inline">
				<input type="text" name="goods_sku" autocomplete="off" class="layui-input">
			</div>
		</div>
		<div class="pack-up"></div>
	</form>
</div>
<table class="layui-hide" id="jdgoods_list" lay-filter="jdgoods_list"></table>
<script>
	
	var jdgoods_list_url = "{:url('Jdgoods/ajaxList')}",
		jdgoods_delete_url = "{:url('Jdgoods/ajaxDelete')}",
		jdgoods_save_url = "{:url('Jdgoods/saveData')}",
		jdgoods_cols = {$cols},
		jdgoods_collect_url = "{:url('Jdgoods/collect')}",
		jdgoods_price_url = "{:url('Jdgoods/price')}";
	$.getScript('/static/js/jdgoods/index.js');
</script>
<script type="text/html" id="jdgoodsToolbar">
	<div class="layui-btn-container">
		<a type="button" data-title="采集京东商品" data-url="{:url('Jdgoods/collect')}" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="collectJdGoods"><i class="layui-icon layui-icon-spread-left"></i>采集京东商品</a>
		<a type="button" style="display: none;" data-title="检查价格变动" data-url="{:url('Jdgoods/price')}" class="layui-btn layui-btn-success layui-btn-sm" lay-event="checkJdGoods"><i class="layui-icon layui-icon-spread-left"></i>检查价格变动</a>
	</div>
</script>
<script type="text/html" id="jdgoods_tool">
	<div class="layui-btn-group">
		<a class="layui-btn layui-btn-normal layui-btn-xs tap-nav" lay-event="edit" data-id="edit_goods_{{ d.goods_sku}}" data-url="{:url('goods/tplForm')}?goods_sku={{ d.goods_sku}}" data-title="修改商品"><i class="layui-icon layui-icon-file-b"></i></a>
		<a class="layui-btn layui-btn-danger layui-btn-xs hide-update" lay-event="update"><i class="layui-icon layui-icon-up"></i></a>
	</div>
</script>
